#ifndef MODIFYUSERDIALOG_H
#define MODIFYUSERDIALOG_H

#include <QDialog>
#include <QLineEdit>
#include <QComboBox>

namespace Ui {
class ModifyUserDialog;
}

class ModifyUserDialog : public QDialog
{
    Q_OBJECT

public:
    explicit ModifyUserDialog(const QString &username, const QString &password, const QString &role, QWidget *parent = nullptr);
    ~ModifyUserDialog();

    QString getUsername() const;
    QString getPassword() const;
    QString getRole() const;

private slots:
    void on_pushButtonConfirm_clicked();

    void on_pushButtonExit_clicked();

private:
    Ui::ModifyUserDialog *ui;
    QLineEdit *usernameEdit;
    QLineEdit *passwordEdit;
    QComboBox *roleComboBox;
};

#endif // MODIFYUSERDIALOG_H
